package com.carp.springframework.bean;

/**
 * @author lile
 * @date 2023/2/2
 */

public class UserService {

    private Integer id;
    private UserDao userDao;

    public void getUserName() {
        System.out.println("获取用户姓名：" + userDao.getUserNameById(id));
    }

}
